import http from '@/utils/http';
import type { MutationTree, ActionTree, GetterTree } from 'vuex'
import type { State } from '../index'
import News from "@/store/modules/news";
export interface NewsState {
}
const state: NewsState = {
};
const mutations: MutationTree<NewsState> = {
};
const actions: ActionTree<NewsState, State> = {
    login(){
        return http.post('/users/login')
    }
};
const getters: GetterTree<NewsState, State> = {};
export default {
    namespaced: true,
    state,
    mutations,
    actions,
    getters
}
